﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminUserOrganizeIdentify.aspx.cs"
    Inherits="Admin_AdminUserOrganizeIdentify" %>

<%@ Register Src="AdminMenu.ascx" TagName="AdminMenu" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:AdminMenu ID="AdminMenu1" runat="server" />
    <h1>
        成员单位管理</h1>
        <div>
        <asp:Label ID="lblMessage" runat="server"></asp:Label>
    </div>
     <asp:MultiView ID="Multiview" runat="server" ActiveViewIndex="0">
        <asp:View runat="server" ID="UserListView">
            <div class="grid">
                <asp:ListView ID="lvItems" runat="server" OnItemCommand="ItemCommand">
                    <LayoutTemplate>
                        <table id="MemberList" runat="server" class="datatable" cellpadding="0" cellspacing="0">
                            <tr style="font-weight:bold;height:30px;">
                                <th style="font-size:14px">
                                    用户名
                                </th>
                                <th style="font-size:14px">
                                    编辑单位
                                </th>
                            </tr>
                            <tr id="itemPlaceholder" runat="server" />
                        </table>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr id="item" runat="server" class="row">
                            <td>
                                <%# Eval("Username")%>
                            </td>
                            <td>
                                <asp:Button ID="btnUserOrganize" runat="server" Text="编辑单位" CommandName="EditUserOrganize"
                                    CommandArgument='<%# Eval("UserId")%>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:ListView>
            </div>
        </asp:View>
        <asp:View runat="server" ID="UserEditor">
        
            <div class="form">
            <p style="font-weight:bold;font-size:14px;">单位列表:</p>
                <p>
                    <asp:RadioButtonList ID="cblUserOrganize" runat="server">
                    </asp:RadioButtonList>
                    <asp:HiddenField ID="hfUserName" runat="server" />
                    <asp:HiddenField ID="hfUserNameIsExist" runat="server" Value="0"/>
                </p>
                <p>
                    <asp:Button ID="btnSubmit" runat="server" Text="<%$Resources:SharedResources, Submit%>"
                        EnableViewState="false" OnClick="SaveClicked" />
                    <asp:Button ID="btnCancel" runat="server" Text="<%$Resources:SharedResources, Cancel%>"
                        EnableViewState="false" OnClick="CancelClicked" />
                </p>
            </div>
        </asp:View>
    </asp:MultiView>
    </form>
</body>
</html>
